package POJO;

import java.util.List;

public class TbOrder
{
    public int id;
    private String number;
    private List<TbProduct> products;

    public List<TbProduct> getProducts() {
        return products;
    }

    public void setProducts(List<TbProduct> products) {
        this.products = products;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "TbOrder{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", products=" + products +
                '}';
    }
}
